package com.example.springbootdemo.infra.mapper;


import com.example.springbootdemo.api.DTO.GetScoreDTO;
import com.example.springbootdemo.domin.VO.getScoreVO;
import com.example.springbootdemo.domin.entity.Sc;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ScMapper {
    String getScoreByCnoAndTno(GetScoreDTO getScoreDTO);

    List<getScoreVO> getCno(Integer sno);

    void updateScore(Sc sc);

    void addScore(Sc sc);

    void deleteScore(GetScoreDTO getScoreDTO);

    List<Sc>getAll();

    void delete(Integer scoreno);

    Sc getById(Integer scoreno);
}
